package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/html")
public class IndexController {

    @RequestMapping("/index")
    public String retIndex() {
        //执行业务逻辑...
        return "/index.html";
    }

}
